<?php
namespace App\Controller;
use Think\Controller;
class HqgController extends Controller {



    //获取华清宫总介
    public function index()
    {
        $data = M('hqg')  -> order('id desc') ->  find();
        
        if($data)
        {
            success($data);
        }else
        {
            error('E1003');
        }


    }

   
}